/**
 * Created by benz on 2017/3/19.
 */
module.exports = app => {
    return class UserController extends app.Controller {
        * index(ctx) {
            this.ctx.body = {user:ctx.user};
        }
    }
}